package com.yunhe.java.day02;

public class Sum{
    public static void main(String[] args) {
        for(int n=1;n<=10;n++){
            for(int j=1;j<=10-n;j++){
                System.out.print(" ");}
            for(int k=1;k<=2*n-1;k++) {
                System.out.print("6");}
            System.out.println();
        }
//        for(int n1=1;n1<=9;n1++){
//            for(int j1=1;j1<=n1;j1++){
//                System.out.print(" ");}
//            for(int k1=1;k1<=19-2*n1;k1++){
//                System.out.print("6");}
//            System.out.println();
//        }
    }
}

